/*
 * jxDao Project (2014)
 * 
 * by Denilson Edinaldo Pinto
 * 
 * LGPL
 * Copyright (C) 2014
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
package org.jxDao.dao.filter;

import java.sql.Date;
import java.sql.Time;
import java.sql.Timestamp;

/**
 * @author Denilson Edinaldo Pinto
 * @porject jxDao
 * @package org.jxDao.dao.filter
 * @date 14/04/2014 - 12:02:03
 */
public final class BetweenFilter extends Filter {
	
	private static final long serialVersionUID = -1059059778179500234L;
	
	/**
	 * @param columnName
	 * @param start
	 * @param end
	 */
	public BetweenFilter(final String columnName, final Date start, final Date end) {
	
		super(columnName, FilterOperator.BETWEEN, new Object[]{start, end});
	}
	
	/**
	 * @param columnName
	 * @param start
	 * @param end
	 */
	public BetweenFilter(final String columnName, final Number start, final Number end) {
	
		super(columnName, FilterOperator.BETWEEN, new Object[]{start, end});
	}
	
	/**
	 * @param columnName
	 * @param start
	 * @param end
	 */
	public BetweenFilter(final String columnName, final Object start, final Object end) {
	
		super(columnName, FilterOperator.BETWEEN, new Object[]{start, end});
	}
	
	/**
	 * @param columnName
	 * @param start
	 * @param end
	 */
	public BetweenFilter(final String columnName, final Time start, final Time end) {
	
		super(columnName, FilterOperator.BETWEEN, new Object[]{start, end});
	}
	
	/**
	 * @param columnName
	 * @param start
	 * @param end
	 */
	public BetweenFilter(final String columnName, final Timestamp start, final Timestamp end) {
	
		super(columnName, FilterOperator.BETWEEN, new Object[]{start, end});
	}
}
